package com.example.gulimallware.enums;

public enum PurchaseDetailStatusEnum {
    CREATE(0, "新建"),
    ASSIGNED(1, "已分配"),
    PURCHASING(2, "正在采购"),
    FINISHED(3, "已完成"),
    FAILED(4, "采购失败");

    private Integer code;
    private String message;

    PurchaseDetailStatusEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}

